<template>
  <div id="app">
    <router-view />
<!--    <transition :name="this.$store.routeAction">-->
<!--      <keep-alive>-->
<!--          <router-view v-if="$route.meta.keepAlive"></router-view>-->
<!--      </keep-alive>-->
<!--      <router-view v-if="!$route.meta.keepAlive"></router-view>-->

<!--    </transition>-->
  </div>
</template>

<style lang="scss">

  #app {
    font-family: "Avenir", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;


  }
  * {
    margin: 0;
    padding: 0;
  }

  .push-enter-active,.push-leave-active
  , .pop-enter-active,.pop-leave-active{
    transition: all 0.4s;
  }

  .push-leave-to{
    transform: translate(-20%,0);
  }

  .push-enter {
    transform: translate(100%, 0);
  }
  .push-enter-active {
    z-index: 10;
  }
  .push-leave-active {
    z-index: 0;
  }
  .pop-leave-active {
    transform: translate(100%, 0);
    z-index: 11;
  }

  .pop-enter{
    transform: translate(-20%,0);
  }







#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*-webkit-text-size-adjust: none !important;*/
  text-align: center;
  color: #2c3e50;
  background-color: rgba(255, 255, 255, 1);
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
